class Post < ActiveRecord::Base
	scope :by_last_updated_at , ->{ order(updated_at: :desc) }
	validates :title , presence: true
	validates :content , presence: true
end
